package com.ss.jdk.stream;

import java.util.stream.Stream;

/**
 * @Auther: ljy.s
 * @Date: 2022/9/10 - 09 - 10 - 19:51
 */
public class StreamTest12Map {
    // 这是一个main方法，是程序的入口：
    public static void main(String[] args) {
        Stream.of("1","2","3","4","5","6","7")
                //.map(msg -> Integer.parseInt(msg))
                .map(Integer::parseInt)
                .forEach(System.out::print);
    }
}
